<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PowerVR SDK</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<table width="100%">
  <tr>
    <td width="33%">
      <p align="left">&nbsp;<a href="http://www.imgtec.com"><img border="0" src="IMGLogo.jpg" width="200" height="30"></a></p>
    </td>
    <td width="33%">
      <p align="center"><font color="#808080" face="Arial" size="2">PowerVR Software Development Kit</a></font></p>
    </td>
    <td width="34%">
      <p align="right"><a href="http://www.powervr.com"><img border="0" src="PVRlogo.jpg" width="200" height="27"></a></p>
    </td>
  </tr>
</table>
<hr>
</head><body>
<!-- Generated by Doxygen 1.3.6 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
<h1>PVR_Texture_Header Struct Reference</h1><code>#include &lt;<a class="el" href="PVRTTexture_8h-source.html">PVRTTexture.h</a>&gt;</code>
<p>
<a href="structPVR__Texture__Header-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o0">dwHeaderSize</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o1">dwHeight</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o2">dwWidth</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o3">dwMipMapCount</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o4">dwpfFlags</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o5">dwTextureDataSize</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o6">dwBitCount</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o7">dwRBitMask</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o8">dwGBitMask</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o9">dwBBitMask</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o10">dwAlphaBitMask</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o11">dwPVR</a></td></tr>

<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="structPVR__Texture__Header.html#o12">dwNumSurfs</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Describes the header of a PVR header-texture 
<p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="o10" doxytag="PVR_Texture_Header::dwAlphaBitMask" ></a><p>
<br><br><h3>dwAlphaBitMask</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o10">PVR_Texture_Header::dwAlphaBitMask</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
mask for alpha channel     </td>
  </tr>
</table>
<a class="anchor" name="o9" doxytag="PVR_Texture_Header::dwBBitMask" ></a><p>
<br><br><h3>dwBBitMask</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o9">PVR_Texture_Header::dwBBitMask</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
mask for blue bits     </td>
  </tr>
</table>
<a class="anchor" name="o6" doxytag="PVR_Texture_Header::dwBitCount" ></a><p>
<br><br><h3>dwBitCount</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o6">PVR_Texture_Header::dwBitCount</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
number of bits per pixel     </td>
  </tr>
</table>
<a class="anchor" name="o8" doxytag="PVR_Texture_Header::dwGBitMask" ></a><p>
<br><br><h3>dwGBitMask</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o8">PVR_Texture_Header::dwGBitMask</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
mask for green bits     </td>
  </tr>
</table>
<a class="anchor" name="o0" doxytag="PVR_Texture_Header::dwHeaderSize" ></a><p>
<br><br><h3>dwHeaderSize</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o0">PVR_Texture_Header::dwHeaderSize</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
size of the structure     </td>
  </tr>
</table>
<a class="anchor" name="o1" doxytag="PVR_Texture_Header::dwHeight" ></a><p>
<br><br><h3>dwHeight</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o1">PVR_Texture_Header::dwHeight</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
height of surface to be created     </td>
  </tr>
</table>
<a class="anchor" name="o3" doxytag="PVR_Texture_Header::dwMipMapCount" ></a><p>
<br><br><h3>dwMipMapCount</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o3">PVR_Texture_Header::dwMipMapCount</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
number of mip-map levels requested     </td>
  </tr>
</table>
<a class="anchor" name="o12" doxytag="PVR_Texture_Header::dwNumSurfs" ></a><p>
<br><br><h3>dwNumSurfs</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o12">PVR_Texture_Header::dwNumSurfs</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
the number of surfaces present in the pvr     </td>
  </tr>
</table>
<a class="anchor" name="o4" doxytag="PVR_Texture_Header::dwpfFlags" ></a><p>
<br><br><h3>dwpfFlags</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o4">PVR_Texture_Header::dwpfFlags</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
pixel format flags     </td>
  </tr>
</table>
<a class="anchor" name="o11" doxytag="PVR_Texture_Header::dwPVR" ></a><p>
<br><br><h3>dwPVR</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o11">PVR_Texture_Header::dwPVR</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
magic number identifying pvr file     </td>
  </tr>
</table>
<a class="anchor" name="o7" doxytag="PVR_Texture_Header::dwRBitMask" ></a><p>
<br><br><h3>dwRBitMask</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o7">PVR_Texture_Header::dwRBitMask</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
mask for red bit     </td>
  </tr>
</table>
<a class="anchor" name="o5" doxytag="PVR_Texture_Header::dwTextureDataSize" ></a><p>
<br><br><h3>dwTextureDataSize</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o5">PVR_Texture_Header::dwTextureDataSize</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Total size in bytes     </td>
  </tr>
</table>
<a class="anchor" name="o2" doxytag="PVR_Texture_Header::dwWidth" ></a><p>
<br><br><h3>dwWidth</h3><br><div>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="PVRTGlobal_8h.html#a19">PVRTuint32</a> <a class="el" href="structPVR__Texture__Header.html#o2">PVR_Texture_Header::dwWidth</a>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
width of input surface     </td>
  </tr>
</table>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PVRTTexture_8h-source.html">PVRTTexture.h</a></ul>
<br>
<br>
<P align=left><FONT size=2><STRONG><A 
   href="http://www.imgtec.com/powervr/insider/legal/index.asp">Copyright</A> � 
   1999-2008, Imagination Technologies Ltd.</STRONG></FONT></P>
<hr>
<address style="align: left;"><small><FONT color=f0f>
Generated by <a href="http://www.doxygen.org/index.html">DOXYGEN</a> 1.3.6</small></address>
</body>
</html>
